package com.calvin.android.utils;

public class CUtils {
	public static <T> T cast(Object object, Class<T> clazz) {
		if (null != object && null != clazz && clazz.isInstance(object)) {
			return clazz.cast(object);
		}
		return null;
	}
}
